package com.syh.appshare.objects;

import java.io.Serializable;

import android.graphics.drawable.Drawable;

/**
 * @作者：沈扬红
 * @日期：2011-4-15
 * @描述：封装已安装软件数据
 */
public class InstalledApkInfo implements Serializable {

	public static final long serialVersionUID = 1L;	
	
	public Drawable apk_icon;//程序图标
	public String apk_name;//程序名称
	public String apk_version;//程序版本
	public String packageName;//程序包名称
	public boolean needUpdate;//是否需要更新
	public String version_code;//版本code	
	public String className;//main activity class
	

	public InstalledApkInfo(Drawable apk_icon,String apk_name, String apk_version, String packageName) {
		
		this.apk_icon = apk_icon;
		this.apk_name = apk_name;
		this.apk_version = apk_version;
		this.packageName = packageName;
		
	}
	
    public InstalledApkInfo(Drawable apk_icon,String apk_name, String apk_version, String packageName, boolean needUpdate,String apk_version_code,String className) {
		
		this.apk_icon = apk_icon;
		this.apk_name = apk_name;
		this.apk_version = apk_version;
		this.packageName = packageName;
		this.needUpdate = needUpdate;
		this.version_code=apk_version_code;
		this.className=className;
	}
		
	
	
}
